﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace debioscoopincdrie.Managers
{
    class TicketManager
    {
        #region Fields
        private static TicketManager INSTANCE;
        #endregion

        #region Constructors
        private TicketManager()
        {

        }
        #endregion

        #region Static functions
        public static TicketManager GetManager()
        {
            if (INSTANCE == null)
            {
                INSTANCE = new TicketManager();
            }

            return INSTANCE;
        }
        #endregion

        #region Functions
        public List<kaart_soort> GetTicketTypes()
        {
            return DatabaseManager.GetManager().GetEntities().kaart_soort.ToList();
        }
        #endregion
    }
}
